<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
    <a class="navbar-brand" href="{{ url_for('public.home') }}">
        SUIBE DID Data Manager
    </a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
            aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mr-auto">
            <li class="nav-item active">
                <a class="nav-link" href="{{ url_for('public.home') }}">主面板
                    <span class="sr-only">(current)</span>
                </a>
            </li>
            {% if current_user and current_user.is_authenticated %}

            {% endif %}

            <li class="nav-item ">
                <a class="nav-link" href="{{ url_for('public.Identity_manager') }}">DID身份数据管理</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="{{ url_for('public.Visualization_tools') }}">身份/数据/凭证可视化查看</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="{{ url_for('public.about') }}">数据共享</a>
            </li>


        </ul>

        {% if current_user and current_user.is_authenticated %}
            <ul class="navbar-nav my-auto">
                <li class="nav-item active">
                    <a class="nav-link" href="{{ url_for('user.members') }}">Logged in as {{ current_user.username }}</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('public.logout') }}">
                        <i class="fa fa-sign-out"></i>
                    </a>
                </li>
            </ul>
        {% elif form %}
        {% endif %}
    </div>
</nav>